package cn.itrip.common;

import java.util.UUID;

public class ValiditorCodeUtil {

    public static String getCode(int length){

        return UUID.randomUUID().toString().replace("-","").substring(length);
    }

    public static String getCode(){

        return UUID.randomUUID().toString().replace("-","");
    }

}
